class PingData
{
public:
	PingData();
	~PingData();
	void Init(uint uiCount,time_t ttTime);
	void SetPing(uint uiNum, uint uiPing);
	void SetIdp(uint uiNum, uint uiId);
	void GetElement(uint *pIdp,uint *pPing, uint uiNum);
	uint uiMachineCount;
	time_t ttTime;
private:
	uint *IdpArray;
	uint *PingArray;
};
uint CreatePingDataMessage(char*buf, PingData& pd);
uint CreateServerConfigMessage(char*buf, int nInterval);
uint CreateSetServerConfigMessage(char*buf);